package com.tyk.bookstore.front.order.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tyk
 * @description OrderSubmitQuery
 */
@Data
public class OrderSubmitQuery {

    @NotBlank
    @Schema(description = "流水号")
    private String tradeNo;

    @NotNull
    @Schema(description = "收货地址ID")
    private Long addressId;

    @Schema(description = "备注")
    private String note;

}
